import { Button, Upload } from "antd"

const InputFile = (props) => {
  return <Upload>
    <Button>{props.btnText || '上传文件'}</Button>
  </Upload>
}

InputFile.propsMap = [
  {
    type:'text',
    name: 'btnText',
    label: '按钮文字'
  }
]

export default InputFile